package com.hjm.project.ShopOrderRecord.ShopOrderRecord.domain;

import com.hjm.framework.aspectj.lang.annotation.Excel;
import com.hjm.framework.web.domain.BaseEntity;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

/**
 * 订单状态记录对象 shop_order_record
 * 
 * @author ShopOrderRecord
 * @date 2020-11-30
 */
public class ShopOrderRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 更新时间 */
    @Excel(name = "更新时间")
    private String updateDate;

    /** 操作人 */
    @Excel(name = "操作人")
    private String man;

    /** 创建时间 */
    @Excel(name = "创建时间")
    private String createDate;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    /** 订单编号 */
    @Excel(name = "订单编号")
    private String orderNo;

    /** 主键 */
    private Long id;

    /** 订单状态：0 待确认 1：待收货 2：已完成 3：待发货 4:待付款 5已取消 6已退款 7 退款中 8 申请退款 9 强制关单 */
    @Excel(name = "订单状态：0 待确认 1：待收货 2：已完成 3：待发货 4:待付款 5已取消 6已退款 7 退款中 8 申请退款 9 强制关单")
    private Long tradeStatus;

    public void setUpdateDate(String updateDate)
    {
        this.updateDate = updateDate;
    }

    public String getUpdateDate()
    {
        return updateDate;
    }
    public void setMan(String man)
    {
        this.man = man;
    }

    public String getMan()
    {
        return man;
    }
    public void setCreateDate(String createDate)
    {
        this.createDate = createDate;
    }

    public String getCreateDate()
    {
        return createDate;
    }
    public void setRemarks(String remarks)
    {
        this.remarks = remarks;
    }

    public String getRemarks()
    {
        return remarks;
    }
    public void setOrderNo(String orderNo)
    {
        this.orderNo = orderNo;
    }

    public String getOrderNo()
    {
        return orderNo;
    }
    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setTradeStatus(Long tradeStatus)
    {
        this.tradeStatus = tradeStatus;
    }

    public Long getTradeStatus()
    {
        return tradeStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("updateDate", getUpdateDate())
            .append("man", getMan())
            .append("createDate", getCreateDate())
            .append("remarks", getRemarks())
            .append("orderNo", getOrderNo())
            .append("id", getId())
            .append("tradeStatus", getTradeStatus())
            .toString();
    }
}
